package com.kangyi.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "查询入住人员详情返回的数据格式")
public class GuestsStayingDetailVO implements Serializable {

    @ApiModelProperty("主键值")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("头像")
    private String image;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("年龄")
    private String age;

    @ApiModelProperty("性别(0女-1男)")
    private Integer gender;

    @ApiModelProperty("状态： (0审核中,1通过（已入住）,2拒绝,3已搬出)")
    private Integer status;

    @ApiModelProperty("出生日期")
    private String birthday;

    @ApiModelProperty("身份证")
    private String idCard;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("入住时间")
    private LocalDate checkInTime;

    @ApiModelProperty("健康信息")
    private HealthInfoVO healthInfoVO; // 直接嵌套健康信息

    @ApiModelProperty("四高信息")
    private FourHighVO fourHighVO; // 直接嵌套四高信息

    @ApiModelProperty("过敏史")
    private String allergy;

    @ApiModelProperty("紧急联系人姓名")
    private String urgentName;

    @ApiModelProperty("紧急联系人电话")
    private String urgentPhone;

    @ApiModelProperty("关系:1本人，2父亲，3母亲，4配偶，5其他")
    private Integer relation;

    @ApiModelProperty("伙食")
    private String foodFeeName;//多表查询

    @ApiModelProperty("房型")
    private String roomFeeName;//多表查询

    @ApiModelProperty("特殊")
    private String specialFeeName;//多表查询

    @ApiModelProperty("总价")
    private Double totalPrice;







}
